package com.suxin.tomcat;

/**
 * @author Tang
 * @classname SocketProcessorBase
 * @description [  ]
 * @date 2021/7/5 11:14
 */
public abstract class SocketProcessorBase implements Runnable{

    @Override
    public void run() {

        synchronized (this) {
            doRun();
        }

    }

    protected abstract void doRun();
}